/**
 * 
 */
package com.tvshows.front.view.dialog;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;

import com.tvshows.front.ui.dialog.DialogUI;

/**
 * @version 1.0
 * @author Tangi Midy
 * <p>
 * This class Shows Up a waiting dialog while reloading torrent files
 * </p>
 */
public class DialogErrorView
    extends Composite
    implements DialogUI
{

    private Label labelErreur;

    /**
     * Constructor of the class
     **/
    public DialogErrorView( Composite parent, int style )
    {
        super( parent, style );
        this.getShell().setText( "Erreur..." );

    }

    /**
     * @param message
     */
    public void setErrorText( String message )
    {
        labelErreur = new Label( this, 0 );
        labelErreur.setText( message );
        this.layout();
    }

    @Override
    public void initFormData()
    {

    }

    @Override
    public void initComposites()
    {

    }

}
